from rest_framework import generics
from rest_framework import filters
from .models import  Trips
from .serializers import TripsBriefSerializer
# Create your views here.


class TripsList(generics.ListAPIView):
    queryset = Trips.objects.all()
    serializer_class = TripsBriefSerializer